package com.carbon.dto;

import com.carbon.common.annotation.Excel;
import lombok.Data;

import java.io.Serializable;

/**
 * 入库详情Excel
 *
 * @author WangFK
 * @version 1.0
 * @since 2023/9/9 16:20
 */
@Data
public class WareInDto implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 单据号单号
     */
    private String orderId;
    /**
     * 仓库id
     */
    private Long wareId;
    /**
     * 生产批号
     */
    private Long batchId;
    /**
     * 供应商
     */
    private Long providerId;
    /**
     * 仓库名 区别 wareName
     */
    @Excel(name = "仓库")
    private String wareNameDto;
    /**
     * 库区
     */
    @Excel(name = "库区")
    private String wareAreaDto;

    /**
     * 库位
     */
    @Excel(name = "库位")
    private String warePositionDto;


    /**
     * 物料名
     */
    @Excel(name = "物料")
    private String goodsName;
    /**
     * 生产单位
     */
    @Excel(name = "生产单位")
    private String productInfoName;
    /**
     * 生产批号
     */
    @Excel(name = "生产批号")
    private String batchName;
    /**
     * 物料型号
     */
    @Excel(name = "物料型号",readConverterExp="1=物料,2=原料")
    private String recordShape;
    /**
     * 物料规格 1小 2中 3大
     */
    @Excel(name = "物料规格",readConverterExp="1=小,2=中,3=大")
    private String recordSize;
    /**
     * 供应商
     */
    @Excel(name = "供应商")
    private String providerName;
    /**
     * 入库数量
     */
    @Excel(name = "入库数量")
    private String replenishmentNum;

}
